<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="head :: common_head(~{::title},~{::link})">
    <title>staffAdd</title>
    <link rel="stylesheet" th:href="@{/sys/staff/staffAdd.css}" media="all" />
</head>
<!--人员新增页面-->
<body>
    <div class="div-body">

        <form class="layui-form staffForm" lay-filter="staffForm">

                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red">* </span>员工编号：</label>
                    <div class="layui-input-block">
                        <input type="text"  name="vstaffid" lay-verify="required" maxlength="8" placeholder="请输入员工编号" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red">* </span>员工姓名：</label>
                    <div class="layui-input-block">
                        <input type="text" name="vstaffname" lay-verify="required" maxlength="30" placeholder="请输入员工姓名" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red">* </span>手机号：</label>
                    <div class="layui-input-block">
                        <input type="text" name="vphone" lay-verify="myvphone|required" maxlength="11" placeholder="请输入手机号" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red">* </span>职位编号：</label>
                    <div class="layui-input-block">
                        <select name="vpositionid" lay-verify="required" lay-filter="aihao"></select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red">* </span>班组编号：</label>
                    <div class="layui-input-block">
                        <select name="vteamid" lay-verify="required" lay-filter="vteamid"></select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red">* </span>工厂：</label>
                    <div class="layui-input-block"><!--disabled-->
                        <select name="vfactoryflg" disabled lay-verify="required" lay-filter="vfactoryflg"></select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red">* </span>评定组：</label>
                    <div class="layui-input-block" id="vappraiseflgRadio">
                        <!--<div class="overlay"></div>-->
                    </div>
                </div>

            <div class="layui-form-item" style="display: none">
                <div class="layui-input-block btn-block">
                    <button id="submit" lay-submit lay-filter="staffAdd" class="layui-btn"><i class="layui-icon">&#xe61f;</i>新增</button>
                </div>
            </div>
        </form>

    </div>
    <div th:replace="head :: common_js(~{::script})">
        <script type="text/javascript" th:src="@{/sys/staff/staffAdd.js}"></script>
    </div>
</body>
</html>